package com.zmxstudy.rbac.entity;

import lombok.Data;


public class RolePermission {
    private int roleId;

    public RolePermission(int roleId, int authId) {
        this.roleId = roleId;
        this.authId = authId;
    }

    private int authId;

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public int getAuthId() {
        return authId;
    }

    @Override
    public String toString() {
        return "RolePermission{" +
                "roleId=" + roleId +
                ", authId=" + authId +
                '}';
    }

    public void setAuthId(int authId) {
        this.authId = authId;
    }
}
